package cn.xu.liteflow.components;

import com.yomahub.liteflow.core.NodeComponent;
import org.springframework.stereotype.Component;

/**
 * @Author xuguofei clark2021@qq.com || WX clark_2023
 * @Date 2024/3/5
 * @Desc TODO
 **/
@Component("a")
public class ACmp extends NodeComponent {

    @Override
    public void process() {
        //do your business
        System.out.println("a-------------------hell world");
        Object requestData = this.getRequestData();
        System.out.println(requestData);
    }

    @Override
    public boolean isAccess() {
        return super.isAccess();
    }

    @Override
    public boolean isContinueOnError() {
        return super.isContinueOnError();
    }

    @Override
    public boolean isEnd() {
        return super.isEnd();
    }
}
